<template>
  <j-modal
    :title="title"
    :width="width"
    :visible="visible"
    switchFullscreen
    @ok="handleOk"
    :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
    @cancel="handleCancel"
    cancelText="关闭">
    <template slot="footer">
      <a-button @click="handleCancel">
        关闭
      </a-button>
    </template>
    <llbb-message-status-list ref="list"></llbb-message-status-list>
  </j-modal>
</template>
<script>
import LlbbMessageStatusList from './LlbbMessageStatusList'
export default {
  name: 'LlbbMessageStatusListModal',
  components: {
    LlbbMessageStatusList
  },
  data () {
    return {
      title:'',
      width:1176,
      visible: false,
      disableSubmit: false
    }
  },
  methods: {
    add () {
      this.visible=true
    },
    show(){
      this.visible=true
    },
    edit () {
      this.visible=true
    },
    close () {
      this.$emit('close');
      this.visible = false;
    },
    handleOk () {
    },
    submitCallback(){
      this.$emit('ok');
      this.visible = false;
    },
    handleCancel () {
      this.close()
    }
  }
}
</script>